home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / fareentr.sql < prev    next >
Text File  |  2000-05-12  |  1KB  |  27 lines

  1. /* RCSVER $Id: fareentr.sql,v 1.3 1999-06-03 12:00:35-05 randy CURRENT $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1999, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        fareentr.sql  
  6. * Date:        02/23/1999
  7. * memo:        Randy Wood
  8. * Description:    Create the fareentr table. Fareentr contains information       
  9. *        from the fare entry farebox record.
  10. * Changes:
  11. ************************************************************************* */
  12. CREATE TABLE fareentr 
  13. (
  14.     det_seq_num    NUMBER(38)    /* pointer to mstrrec record */
  15.         CONSTRAINT ref1_fareentr REFERENCES mstrrec(det_seq_num),
  16.     farebox_glid    NUMBER(38),    /* Farebox ID from global_id */
  17.         conv_date       DATE,           /* Date for this record */
  18.     fare_id        NUMBER(38),    /* ID of fare from faredescriptions */
  19.     amount        NUMBER(36,2),    /* Amount entered */
  20.     auto_dump    NUMBER(1),    /* Was this from an autodump? 1/0 */
  21.     low_fare    NUMBER(1),    /* was this an underpayment? */
  22.     high_fare    NUMBER(1),    /* was this an overpayment? */
  23.     dump_upr    NUMBER(1),    /* Was this from a upr dump? */
  24.     fare_context_id    NUMBER(38),    /* references fare_context */
  25.     CONSTRAINT pk_fareentr PRIMARY KEY (det_seq_num)
  26. );
  27.